<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="styles\sortTable.css">
    <script src="js\sortTable.JS"></script>
</head>

<body>

    <input type="text" id="myInput" placeholder="搜索公司..." />
    <table id="myTable">
        <tr class="header">
            <th style="width: 60%" onclick="sortTable()" >公司名称</th>
            <th style="width: 40%" onclick="sortTable()">国家</th>
        </tr>
        <tr>
            <td>Alfreds Futterkiste</td>
            <td>Germany</td>
        </tr>
        <tr>
            <td>Berglunds snabbkop</td>
            <td>Sweden</td>
        </tr>
        <tr>
            <td>Island Trading</td>
            <td>UK</td>
        </tr>
        <tr>
            <td>Koniglich Essen</td>
            <td>Germany</td>
        </tr>
        <tr>
            <td>Baoalwihd</td>
            <td>Chinese</td>
        </tr>
    </table>

</body>
</html>